cmake_minimum_required(VERSION 2.8)
project(chapter23)

set(CMAKE_CXX_STANDARD 11)

include_directories(include)

add_executable(RealTimerDemo src/RealTimerDemo/main.cpp)
add_executable(TimedReadDemo src/TimedReadDemo/main.cpp)
add_executable(NanosleepDemo src/NanosleepDemo/main.cpp)
add_executable(PrintTimerSigevSignal src/PrintTimerSigevSignal/main.cpp src/currTime.cpp src/itimerspecFromStr.cpp)
target_link_libraries(PrintTimerSigevSignal rt)
